package org.example.yygh.hosp.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.yygh.model.hosp.HospitalSet;
import org.example.yygh.vo.hosp.HospitalQueryVo;
import org.example.yygh.vo.hosp.HospitalSetQueryVo;

import java.util.List;

/**
 * @author hu
 * @version 1.0
 * @date 2021/3/13 0013 下午 3:20
 * @description
 */
public interface IHospitalSetService extends IService<HospitalSet> {

    /**
     * 查询所有医院配置
     * @return
     */
    List<HospitalSet> listsHospitalSet();

    /**
     * 软删除 医院设置
     * @param id
     */
    void softDeleteHospitalById(Long id) ;

    /**
     * 分页查询医院配置
     * @param current
     * @param pageSize
     * @param hospitalQueryVo
     * @return
     */
   Page<HospitalSet> findPageByHospitalQueryVo(int current, int pageSize, HospitalSetQueryVo hospitalQueryVo);

    /**
     * 保存医院设置
     * @param hospitalSet
     */
   void saveHospitalSet(HospitalSet hospitalSet);

    /**
     * 根据id查询详情
     * @param id
     * @return
     */
   HospitalSet findDetailById(Long id);

    /**
     * 编辑医院设置
     * @param hospitalSet
     */
   void edit(HospitalSet hospitalSet);
}
